
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '合作伙伴信息',
    enableValidate: false
})

@Injectable()
export class DataGridComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'merchantName',
        name: "{{merchantName_251ab68d_97tw}}",
        binding: 'merchantName',
        updateOn: 'blur',
        defaultI18nValue: '商户名称',
    })
    merchantName: FormControl;

    @NgFormControl({
        id: 'merchantCode',
        name: "{{merchantCode_5735ce79_aqwh}}",
        binding: 'merchantCode',
        updateOn: 'blur',
        defaultI18nValue: '商户编号',
    })
    merchantCode: FormControl;

    @NgFormControl({
        id: 'merchantType',
        name: "{{merchantType_b2ab388b_expt}}",
        binding: 'merchantType',
        updateOn: 'blur',
        defaultI18nValue: '商户类型',
    })
    merchantType: FormControl;

    @NgFormControl({
        id: 'companyType',
        name: "{{companyType_cff1ac47_5v0w}}",
        binding: 'companyType',
        updateOn: 'blur',
        defaultI18nValue: '企业类型',
    })
    companyType: FormControl;

    @NgFormControl({
        id: 'fullName',
        name: "{{fullName_f72e9ecc_xmsh}}",
        binding: 'fullName',
        updateOn: 'blur',
        defaultI18nValue: '企业全称',
    })
    fullName: FormControl;

    @NgFormControl({
        id: 'businessLicense',
        name: "{{businessLicense_71358eec_16ek}}",
        binding: 'businessLicense',
        updateOn: 'blur',
        defaultI18nValue: '营业执照编码',
    })
    businessLicense: FormControl;

    @NgFormControl({
        id: 'address',
        name: "{{address_52858192_hefs}}",
        binding: 'address',
        updateOn: 'blur',
        defaultI18nValue: '商户地址',
    })
    address: FormControl;

    @NgFormControl({
        id: 'email',
        name: "{{email_bb475838_9uby}}",
        binding: 'email',
        updateOn: 'blur',
        defaultI18nValue: '邮箱',
    })
    email: FormControl;

    @NgFormControl({
        id: 'telephone',
        name: "{{telephone_d6a28030_6hp0}}",
        binding: 'telephone',
        updateOn: 'blur',
        defaultI18nValue: '联系电话',
    })
    telephone: FormControl;

    @NgFormControl({
        id: 'adminstrator',
        name: "{{adminstrator_4861b4e2_w0cu}}",
        binding: 'adminstrator',
        updateOn: 'blur',
        defaultI18nValue: '管理员',
    })
    adminstrator: FormControl;

}